import {
    TOGGLESIBAR,
    SIDEBARINDEX,
    LOGINSTATUS,
    SUBARRDATA,
    USERSTATUS,
    GETUSERTATUS,
    FIRSTLOAD,
    GETALLCONTACT,
    ORDERDETAIL,
    LANGUAGETYPE
} from './mutation-types';
export default {
    [TOGGLESIBAR]({ commit, state }) {
        commit(TOGGLESIBAR);
    },
    [SIDEBARINDEX]({ commit, state }, data) {
        commit(SIDEBARINDEX, data);
    },
    [LOGINSTATUS]({ commit, state }, data) {
        commit(LOGINSTATUS, data);
    },
    [SUBARRDATA]({ commit, state }, data) {
        commit(SUBARRDATA, data);
    },
    [USERSTATUS]({ commit, state }, data) {
        commit(USERSTATUS, data);
    },
    [GETUSERTATUS]({ commit, state }, next) {
        commit(GETUSERTATUS, next);
    },
    [FIRSTLOAD]({ commit, state }, bool) {
        commit(FIRSTLOAD, bool);
    },
    [LANGUAGETYPE]({ commit, state }) {
        commit(LANGUAGETYPE);
    },
    [GETALLCONTACT]({ commit, state }) {
        commit(GETALLCONTACT);
    }
};